package pattern.chain_of_responsibility.login;

public class Test {
    public static void main(String[] args) {
        User user = new User();
        user.setUsername("11");
        user.setPassword("123");
        LoginService loginService = new LoginService();
        loginService.login(user);
        user.setUsername("wlj");
        user.setPassword("123456");
        loginService.login(user);
    }
}
